package com.dasberg.gwt.client;

import com.dasberg.gwt.command.Action;
import com.dasberg.gwt.command.Result;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.google.gwt.user.client.rpc.SerializationException;

/**
 * Dispatcher Service.
 * @author mischa
 */
@RemoteServiceRelativePath("dispatcher")
public interface DispatcherService extends RemoteService {
    Result process(Action action) throws SerializationException;
}